package com.ucw.ucwclient.dal.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import com.ucw.ucwclient.dal.dataobject.UOrg;
import com.ucw.ucwclient.dal.search.NormalSearch;

@Repository
public interface UOrgMapper {
	int deleteByPrimaryKey(Long userId);

	int insert(UOrg record);

	int insertSelective(UOrg record);

	UOrg selectByPrimaryKey(Long userId);

	int updateByPrimaryKeySelective(UOrg record);

	int updateByPrimaryKey(UOrg record);

	List<UOrg> selectByPageSearch(@Param("search") NormalSearch search);
}